/*
 *      Created on: Feb 24, 2011
 *      Author: topcoder
 */

#ifndef RECTANGLE_H_
#define RECTANGLE_H_

class Rectangle
{
public:
    Rectangle(float width, float height);
    Rectangle(float length);
    ~Rectangle();

    float getArea() const;
    float getPerimeter() const;

    bool setWidth(const float width);
    bool setHeight(const float height);

private:
    float width_m;
    float height_m;
};

#endif /* RECTANGLE_H_ */
